package com.oracle.oa.biz;

import java.util.List;

import com.oracle.oa.entity.Userinfo;

public interface UserInfoBiz extends BaseBiz {
	public String login(Long id, String pwd);
	public int getAllusercount();
	public List getUseridAndUsername(Object userid,Object username);
	public List getBydepartAndUserid(Object departname,Object userid);
	public List getBydepartAndUsername(Object departname,Object username);
	public List getBydepartAndUsernameandUserid(Object departname,Object userid,Object username);
	//根据姓名模糊查找
	public List<Userinfo> getByPorUsername(Object username);
	
	public List<Userinfo> getByDeptId(Long deptid);//武明月
	public List<Userinfo> getByRoleid(Long roleid);//武明月
}
